#ifndef IMAGEVIEWERDIALOG_H
#define IMAGEVIEWERDIALOG_H

#include "popupdialog.h"
#include "touchbutton.h"
#include <QLabel>
#include <QPushButton>
#include <QVBoxLayout>

class ImageViewerDialog : public PopupDialog
{
    Q_OBJECT
public:
    explicit ImageViewerDialog(const QString& imagePath, QWidget* parent = nullptr);

protected:
    void keyPressEvent(QKeyEvent* event) override;

private:
    QLabel* m_imageLabel;
    TouchButton* m_closeButton;
};

#endif // IMAGEVIEWERDIALOG_H 
